//
//  AppDelegate.h
//  iOS-CtrlV
//
//  Created by Wang Li on 12-12-19.
//  Copyright (c) 2012年 Wang Li. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate,MBProgressHUDDelegate>
{
    UIImage*  m_MidNavImg;
    UIImage*  m_LeftNavImg;
    MBProgressHUD*      _HUD;
    BOOL                _isKeyboardShow;
    UIViewController*   _SaveVC;
    
}
@property(nonatomic,retain) UIImage*  m_MidNavImg;
@property(nonatomic,retain) UIImage*  m_LeftNavImg;
@property (strong, nonatomic) UIWindow *window;
@property (retain, nonatomic)UIViewController*   _SaveVC;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

- (void)showWithCustomView:(NSString*)showText
                detailText:(NSString*)detailText
                     isCue:(BOOL)isCue
                 delayTime:(CGFloat)delayTime;
@end
